<script type="text/javascript">
$(document).ready(function() {
  var volClass=	$("#planitemVolclass").val();
  var newProjectType = $("#newProjectType").val();
  var imageSrc="";
   switch(volClass){
    case "500kV":
    	if(newProjectType == "1"){ //输变电工程
    		imageSrc="./../theme/default/images/planPeriod/p500_sbd.jpg";
    	}else if(newProjectType == "2"){ //纯变电工程
    		imageSrc="./../theme/default/images/planPeriod/p500_cbd.jpg";
    	}else if(newProjectType == "3"){ //纯线路工程
    		imageSrc="./../theme/default/images/planPeriod/p500_cxl.jpg";
    	}else{
    		imageSrc="./../theme/default/images/planPeriod/p500.jpg";
    	}
     	break;
     case "220kV":
   	 	if(newProjectType == "1"){ //输变电工程
    		imageSrc="./../theme/default/images/planPeriod/p220_sbd.jpg";
    	}else if(newProjectType == "2"){ //纯变电工程
    		imageSrc="./../theme/default/images/planPeriod/p220_cbd.jpg";
    	}else if(newProjectType == "3"){ //纯线路工程
    		imageSrc="./../theme/default/images/planPeriod/p220_cxl.jpg";
    	}else{
    		imageSrc="./../theme/default/images/planPeriod/p220.jpg";
    	}
   	 	break;
   	 case "110kV":
   	 	if(newProjectType == "1"){ //输变电工程
    		imageSrc="./../theme/default/images/planPeriod/p110_sbd.jpg";
    	}else if(newProjectType == "2"){ //纯变电工程
    		imageSrc="./../theme/default/images/planPeriod/p110_cbd.jpg";
    	}else if(newProjectType == "3"){ //纯线路工程
    		imageSrc="./../theme/default/images/planPeriod/p110_cxl.jpg";
    	}else{
    		imageSrc="./../theme/default/images/planPeriod/p110.jpg";
    	}
    	break;
    default:
       
   }
	$('#pre_plan_group_00000000000000256_planView').attr("src",imageSrc);
});
</script>
<style>
 #pre_plan_group_00000000000000256_planView_div {
    min-width: 600px;
    overflow-x: auto; 
    width: expression( document.body.clientWidth < 600 ? "600px" :  document.body.clientWidth );
    }
</style>
<div id='pre_plan_group_00000000000000256_planView_div'><img id="pre_plan_group_00000000000000256_planView"></div>


